<?php
/* @var $this AskController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
    '交互平台'=>array('ask/index'),
    '热门问题',
);

$this->menu=array(
//	array('label'=>Yii::t('ask/index', 'Create Ask'), 'url'=>array('create')),
	array('label'=>Yii::t('ask/index', 'Manage Ask'), 'visible'=>  Yii::app()->user->checkAccess('admin'), 'url'=>array('admin')),
);
?>
<div class="panel panel-box" style="overflow:hidden;">
    <div class="panel-heading">
        <h3 class="panel-title">交互平台</h3>
    </div>
<div class="panel-body" style="padding:15px">

<?php $this->widget('AskNav'); ?>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
                     'itemsTagName' => 'ul',
                     'itemsCssClass' => 'ask-list-group',
	'itemView'=>'_view',
)); ?>
</div>
</div>
